package com.cyy.service.impl;


import com.cyy.dao.BookDao;
import com.cyy.service.BookService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

@Service
public class BookServiceImpl implements BookService {

    @Autowired
    @Qualifier("bookDao")
    private BookDao bookDao;
    /*public void setBookDao(BookDao bookDao) {
        this.bookDao = bookDao;
    }*/

    @Override
    public void save() {
        System.out.println("book service save....");
        bookDao.save();
    }

}
